package com.aierkeji.b2c;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication(scanBasePackages="com.aierkeji.b2c")
@EnableJpaRepositories(basePackages="com.aierkeji.b2c.dao.jpa",repositoryImplementationPostfix="CustomImpl")
@EntityScan(basePackages="com.aierkeji.b2c.entity")
@EnableTransactionManagement
public class AierkejiB2CApplication {

    public static void main(String[] args) {
        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow","{}");
        SpringApplication.run(AierkejiB2CApplication.class, args);
    }

}
